package com.haust.rabbit.message.dto;

import com.haust.pojo.TbOrder;
import com.haust.pojo.TbOrderItem;
import com.haust.pojo.TbOrderShipping;
import com.haust.pojo.TbUser;
import com.haust.rabbit.message.HaustMessage;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 创建订单的信息
 */
@Data
@NoArgsConstructor
public class HaustCreateOrderMessageBody implements HaustMessage {
    private TbOrder tbOrder;  //订单
    private TbOrderShipping tbOrderShipping; //订单物流
    private List<TbOrderItem> tbOrderItem; //订单项
    private TbUser tbUser;  //用户
    private String token; //请求头令牌
}
